import request from '@/utils/request'


// 用户登录
export function register(idCard, password, name, phone, email) {
    const data = {
        idCard,
        password,
        name,
        phone,
        email
    }
    return request({
        url: '/auth/register',
        method: 'post',
        data: data
    })
}

